package com.kx.yooli.kx.wechat.po.message;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author john_sqwen-childe.wen
 * date 2024/4/8
 * PROJECT_NAME wechat
 * description create WechatTorrentInfo by john_sqwen
 * and  value is
 */
public class WechatTorrentInfo {
    private final Logger log = LoggerFactory.getLogger(WechatTorrentInfo.class);
    /**
     *  主键,所属表字段为wechat_torrent_info.id
     */
    private Integer id;

    /**
     *  姓名,所属表字段为wechat_torrent_info.name
     */
    private String name;

    /**
     *  对应的身份证号码或者工号,所属表字段为wechat_torrent_info.code
     */
    private String code;

    /**
     *  构造查询条件,wechat_torrent_info
     */
    public WechatTorrentInfo(Integer id, String name, String code) {
        this.id = id;
        this.name = name;
        this.code = code;
    }

    /**
     *  构造查询条件,wechat_torrent_info
     */
    public WechatTorrentInfo() {
        super();
    }

    /**
     * 获取 主键 字段:wechat_torrent_info.id
     *
     * @return wechat_torrent_info.id, 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置 主键 字段:wechat_torrent_info.id
     *
     * @param id wechat_torrent_info.id, 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取 姓名 字段:wechat_torrent_info.name
     *
     * @return wechat_torrent_info.name, 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 设置 姓名 字段:wechat_torrent_info.name
     *
     * @param name wechat_torrent_info.name, 姓名
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取 对应的身份证号码或者工号 字段:wechat_torrent_info.code
     *
     * @return wechat_torrent_info.code, 对应的身份证号码或者工号
     */
    public String getCode() {
        return code;
    }

    /**
     * 设置 对应的身份证号码或者工号 字段:wechat_torrent_info.code
     *
     * @param code wechat_torrent_info.code, 对应的身份证号码或者工号
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }
}
